package com.hex.ds.hdtp.core.app.script.test.converter;

import com.hex.ds.hdtp.core.app.script.test.dto.request.ScriptTestDataAnalysisRequestDto;
import com.hex.ds.hdtp.core.app.script.test.dto.response.ScriptTestDataAnalysisResponseDto;
import com.hex.ds.hdtp.core.inf.script.test.po.ScriptTestDataAnalysisPo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.app.script.test.converter
 * @ClassName IScriptTestDataAnalysisConverter
 * @Description: 带数据测试数据分析结果-DTO对象转PO对象转换器
 * @Author: wz.li
 * @Date 2023/8/1 15:48
 * @Version v2.0.2
 **/
@Mapper(componentModel = "spring")
public interface IScriptTestDataAnalysisConverter {

    ScriptTestDataAnalysisPo toScriptTestDataAnalysisPo(ScriptTestDataAnalysisRequestDto scriptTestDataAnalysisRequestDto);

    ScriptTestDataAnalysisRequestDto toScriptTestDataAnalysisRequestDto(ScriptTestDataAnalysisResponseDto scriptTestDataAnalysisResponseDto);

    List<ScriptTestDataAnalysisResponseDto> toScriptTestDataAnalysisResponseDtoList(List<ScriptTestDataAnalysisPo> scriptTestDataAnalysisPos);
}
